﻿using BCDto.TMS.MoveHouseConfig.MoveHouseSpecificationServiceConfig.MoveHouseSpecificationServiceConfigRequest;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.MoveHouseConfig.MoveHouseSpecificationConfig.MoveHouseSpecificationConfigRequest
{
    public class MoveHouseSpecificationConfigRequestDto
    {
        /// <summary>
        /// 规格名称
        /// </summary>
        [Display(Name = "搬家配置名称")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public string SpecificationName { get; set; }
        /// <summary>
        /// 是否可用
        /// </summary>
        public bool Enabled = true;
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 服务
        /// </summary>
        public IEnumerable<SpecificationServiceRequestDto> SpecificationServiceRequests { get; set; }
    }
}
